<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
{if count($aStores) > 0}
<div class="setting_header">
    <h1 class="setting_title">Store Setting 
        <span class="store_links"><a onclick="$('.popup_link').toggle();return false;" href="#">Store</a></span>
    </h1>
    <div class="popup_link store_link" style="display: none;">
        <div class="beeperNub"></div>
        <ul>
            {foreach from=$aStores item=aStore}
            <li><a href="{url link='marketplace.setting' id=$aStore.store_id}">{$aStore.name}{if empty($aStore.name)}[NO NAME]{/if}</a> </li>
            {/foreach}
        </ul>
    </div>
</div>
<div class="store_setting_form">
    {template file='marketplace.block.store.edit'}    
</div>
{else}
    No store found.
{/if}